const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    devServer: {
        open: true,
        host: 'localhost',
        port: '8080',
        proxy: {
            '/api': {
                target: 'https://eduvideo.hangzhou.com.cn', // 要请求的地址
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/api'
                }
            }
        }
    },
    publicPath:'/',
    outputDir: 'dist',
})
